import axios from "axios";

import {config} from "process"

const http=axios.create({
    baseURL:"",
    timeout:3000,
});

//请求拦截器
http.interceptors.request.use(config=>{
    return config;
});

//响应拦截器
http.interceptors.response.use((response)=>{
    return response.data;
})